﻿package com.javaPattern.Visitor;

public class A implements Visitor {

	@Override
	public void visit(PartA A) {
		System.out.println("A 主管" + A.getName());
	}

	@Override
	public void visit(PartB B) {

	}

}
